﻿namespace OneWorks.Utils.Export
{
    using System;

    public class ExportAttribute : Attribute
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="displayName">显示名称</param>
        /// <param name="type">类型</param>
        public ExportAttribute(string displayName,Type type)
        {
            DisplayName = displayName;
            Type = type;
        }

        /// <summary>
        /// 显示名称
        /// </summary>
        public string DisplayName { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public Type Type { get; set; }
    }
}
